<%--
  Created by IntelliJ IDEA.
  User: 13095
  Date: 2024/9/18
  Time: 12:11
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html; charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set value="${pageContext.request.contextPath}" var="path"></c:set>
<html>
<head>
    <meta charset="UTF-8">
    <title>跑腿员中心</title>
    <link rel="stylesheet" href="styles.css">
</head>

<link rel="stylesheet" href="${path}/static/css/staffcss.css">
<script src="${path}/static/js/script.js"></script>
<body>
<header>
    <h1>跑腿员中心</h1>
  <jsp:include page="inc/inc.jsp"></jsp:include>
</header>
<div class="container">
    <main>
        <h2>我的接单记录</h2>
        <table>
            <thead>
            <tr>
                <th>任务标题</th>
                <th>状态</th>
            </tr>
            </thead>
            <tbody>
           <c:forEach items="${requestScope.tasksPageInfo.list}" var="tasks">
               <tr>
                   <td>${tasks.description}</td>
                   <td>${tasks.status==1?"进行中":"已送达"}</td>
               </tr>
           </c:forEach>
            </tbody>
        </table>
    </main>
</div>
</body>
</html>